package com.example.feign.consumer;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import feign.Feign;

/**
 * 禁用Hystrix
 * @author c_dingxuehua-001
 *
 */
@Configuration
public class DisableHystrixConfiguration {
	
	@Bean
	@Scope("prototype")
	public Feign.Builder feignBulider(){
		return  Feign.builder();
	}

}
